import request from '@/utils/request'

// 查询店铺列表
export function listAcademy(query) {
  return request({
    url: '/shopInfo/findShopInfo',
    method: 'get',
    params: query
  })
}

// 新增店铺
export function insertShopInfo(data) {
  return request({
    url: '/shopInfo/insertShopInfo',
    method: 'post',
    data: data
  })
}

// 修改店铺
export function updateShopInfo(data) {
    return request({
      url: '/shopInfo/updateShopInfo',
      method: 'post',
      data: data
    })
  }

  // 删除店铺
export function deleteShopInfo(data) {
    return request({
      url: '/shopInfo/deleteShopInfo',
      method: 'post',
      data: data
    })
  }
